package com.ouc.eddyAlgorithm.domain;

import com.ouc.common.annotation.Excel;
import com.ouc.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 舰船参数对象 sys_ship
 * 
 * @author yuhao
 * @date 2025-06-20
 */
public class SysShip extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Integer id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer userId;

    /** 舰长姓名 */
    @Excel(name = "舰长姓名")
    private String name;

    /** 舰船宽度 */
    @Excel(name = "舰船宽度")
    private Double width;

    /** 标准排水量 */
    @Excel(name = "标准排水量")
    private Double standardDisplacement;

    /** 满载排水量 */
    @Excel(name = "满载排水量")
    private Double fullLoadDisplacement;

    /** 航速 */
    @Excel(name = "航速")
    private Double navigationalSpeed;

    /** 续航里程 */
    @Excel(name = "续航里程")
    private Double enduranceMileage;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setWidth(Double width) 
    {
        this.width = width;
    }

    public Double getWidth() 
    {
        return width;
    }
    public void setStandardDisplacement(Double standardDisplacement) 
    {
        this.standardDisplacement = standardDisplacement;
    }

    public Double getStandardDisplacement() 
    {
        return standardDisplacement;
    }
    public void setFullLoadDisplacement(Double fullLoadDisplacement) 
    {
        this.fullLoadDisplacement = fullLoadDisplacement;
    }

    public Double getFullLoadDisplacement() 
    {
        return fullLoadDisplacement;
    }
    public void setNavigationalSpeed(Double navigationalSpeed) 
    {
        this.navigationalSpeed = navigationalSpeed;
    }

    public Double getNavigationalSpeed() 
    {
        return navigationalSpeed;
    }
    public void setEnduranceMileage(Double enduranceMileage) 
    {
        this.enduranceMileage = enduranceMileage;
    }

    public Double getEnduranceMileage() 
    {
        return enduranceMileage;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("name", getName())
            .append("width", getWidth())
            .append("standardDisplacement", getStandardDisplacement())
            .append("fullLoadDisplacement", getFullLoadDisplacement())
            .append("navigationalSpeed", getNavigationalSpeed())
            .append("enduranceMileage", getEnduranceMileage())
            .toString();
    }
}
